package com.justnow.staticfactory;

import com.justnow.simple.MailSender;
import com.justnow.simple.Sender;
import com.justnow.simple.SmsSender;

/**
 * @author justnow
 * Created on 2020-09-07
 * Description
 */
public class StaticFactory {
    public static Sender produceMail() {
        return new MailSender();
    }
    public static Sender produceSms() {
        return new SmsSender();
    }
}
